package com.peoit.honeycomb.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "honeycomb_smstemplate")
public class SmsTemplate extends BaseEntity {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 5633848690775139363L;

	@Column(length = 500, nullable = true)
	String url;
	@Column(length = 500, nullable = true)
	String account;
	@Column(length = 500, nullable = true)
	String pswd;
	@Column(length = 500, nullable = true)
	String msg;
	boolean needstatus;
	@Column(length = 500, nullable = true)
	String product;
	@Column(length = 500, nullable = true)
	String extno;
	boolean status; // 是否为激活状态
	@Column(length = 500, nullable = true)
	String type; // A:验证码,B为通知消息
	int length; // 验证码短信随机数位数
	long failureTime;// 验证码失效时间

	public long getFailureTime() {
		return failureTime;
	}

	public void setFailureTime(long failureTime) {
		this.failureTime = failureTime;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPswd() {
		return pswd;
	}

	public void setPswd(String pswd) {
		this.pswd = pswd;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public boolean isNeedstatus() {
		return needstatus;
	}

	public boolean getNeedstatus() {
		return needstatus;
	}

	public boolean getStatus() {
		return status;
	}

	public void setNeedstatus(boolean needstatus) {
		this.needstatus = needstatus;
	}

	public String getProduct() {
		return product;
	}

	public void setProduct(String product) {
		this.product = product;
	}

	public String getExtno() {
		return extno;
	}

	public void setExtno(String extno) {
		this.extno = extno;
	}

}
